#include <QApplication>
#include "powercalculator.h"
#include <QTranslator>
int main(int argc,char* argv[])
{
   QApplication a(argc,argv);
   QTranslator translatorGlobal;
   translatorGlobal.load("qt_zh_CN.qm");
   a.installTranslator(&translatorGlobal);
   QTranslator translator;
   translator.load("zh.qm");
   a.installTranslator(&translator);
   PowerWindow power;
   power.show();
   return a.exec();
}
